package cn.tedu.egnotice1.mapper;

import cn.tedu.egnotice1.pojo.dto.NoticeAddQuery;
import cn.tedu.egnotice1.pojo.entity.Notice;
import cn.tedu.egnotice1.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

@Mapper
public interface NoticeMapper {

    int insertNotice(Notice notice);

    List<NoticeListVO> selectNoticeList(NoticeAddQuery noticeAddQuery);

    int deleteNotice(Long id);
}
